.section-story {
  // topo do relato
  .topo-relato-padrao {
    position: relative;
    background-position: center;
    background-size: cover;
    min-height: 525px;
    margin-bottom: 40px;
    .container {
      background: transparent;
      position: relative;
      z-index: 3;
    }
    h1.main-title {
      margin: 100px 0;
      .title_text {
        color: #55a4f3;
        .subtext {
          color: #fff;
        }
      }
    }
    h3.main-title {
      width: 66.6666%;
      margin: auto;
      position: relative;
      @media (max-width: 960px) {
        width: 100%;
      }
      .title_text {
        font-size: 36px;
        color: #fff;
        .editable-field {
          form {
            .content-editable-actions {
              text-align: right;
              .btn {
                position: static;
              }
            }
          }
        }
        .subtext {
          color: #fff;
          margin: 11px 0 5px 0;
          padding-top: 18px;
          border-top: 1px solid rgba(255,255,255,.1);
          font-size: 9pt;
          display: block;
        }
        .btn.btn-xs.btn-primary {
          position: absolute;
          right: 0;
          bottom: -8px;
        }
      }
    }
    .relato-social-actions,
    .navbar-actions.relato-fixed-actions {
      width: 66.66666%;
      margin: 10px auto 0 auto;
      vertical-align: middle;
      @media (max-width: 960px) {
        width: 100%;
      }
      * {
        display: inline-block;
        vertical-align: middle;
      }
      .btn {
        vertical-align: bottom;
        margin-right: 10px;
      }
    }
    .navbar-actions.relato-fixed-actions {
      transition: all .3s;
      width: 100%;
      margin-top: -50px;
      height: 40px;
      padding: 8px 0;
      background: #0e313a;
      z-index: 999;
      top: 0;
      left: 0;
      right: 0;
      position: fixed;
      opacity: 0;
      a.btn.btn-success,
      a.btn.btn-danger,
      .fb-btn-share,
      .gplus-btn,
      a.btn.btn-primary {
        vertical-align: top;
        margin: 0 5px;
        * {
          vertical-align: top;
        }
      }
      .gplus-btn {
        height: 25px;
        span {
          vertical-align: top !important;
        }
      }
      .container {
        display: block;
      }
    }
    .navbar-actions.relato-fixed-actions.header-shrink-active {
      opacity: 1;
      margin-top: 0;
    }
    &:before {
      content: ' ';
      background: rgba(0,0,0,.7);
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      top: 0;
    }
    .dropdown-menu {
      display: none;
    }
    .dropdown.open {
      .dropdown-menu {
        display: block;
      }
    }
  }
  // main-content
  .box {
    .box-inner {
      > h1, > h2, > h3, > h4 {
        font-weight: 500;
      }
    }
  }
  .box + .box {
    margin: 30px 0;
  }
  .story-questions {
    h3.question-title {
      color: #777;
      font-weight: 500;
      font-size: 28px;
    }
    .content-editable-actions {
      padding-top: 10px;
      border-top: 1px solid #dbdbdb;
      text-align: right;
    }
    form {
      .content-editable-actions {
        border-top: none;
      }
    }
  }
  .box-inner.dark {
    background: lighten($gray-lighter, 3%);
  }

  .story-media {

    .images {
      .preview {
        margin-bottom: 20px;
        .btn-danger {
          width: 25px;
          height: 25px;
          margin-top: 12px;
          border-radius: 50%;
          padding: 3px 4px 4px 5px;
          position: absolute;
          top: -20px !important;
          right: 5px !important;
          line-height: 0;
          font-weight: bold;
        }
      }
    }
    .images-list {
      margin-top: 20px;
      .row {
        margin-bottom: 30px;
      }
      .img-preview {
        .inner {
          overflow: hidden;
          max-width: 210px;
          height: 150px;
        }
        position: relative;
        margin-bottom: 30px;
      }
      .image {
        .inner {
          max-width: 210px;
          position: relative;
          margin: auto;
          .btn.btn-danger {
            width: 20px;
            height: 20px;
          }
        }
      }
      .relato-image {
        max-width: 210px;
        height: 150px;
        background: center;
        background-size: cover;
      }
    }
  }

  .media-tabs {
    margin: 0 0 30px 0;
    border: none;
    text-align: center;
    clear: both;
    .btn-image,
    .btn-audio,
    .btn-video,
    .btn-docs,
    .btn-map {
      padding: 6px 10px;
      margin: 0 6px;
      border: none;
      background: #eee;
      cursor: pointer;
      border-radius: 3px;
      height: 38px;
      &:hover {
        background: #555;
        border: 1px solid #ddd;
        .icons-outline,
        .btn-text {
          color: #fff;
          float: none;
          vertical-align: middle;
        }
      }
      .icons-outline {
        font-size: 26px;
        display: inline-block;
        vertical-align: middle;
      }
      .btn-text {
        margin: 5px 0 0 8px;
        font-size: 14px;
        color: #555;
        vertical-align: middle;
        display: inline-block;
      }
    }
    .btn-image {
      .icons-outline {
        color: #777;
      }
    }
    .btn-audio {
      .icons-outline {
        color: #f9ae31;
      }
    }
    .btn-video {
      .icons-outline {
        color: #cd0102;
      }
    }
    .btn-docs {
      .icons-outline {
        color: #55a4f3;
      }
    }
    .btn-map {
      .icons-outline {
        color: #00a182;
      }
    }

    .btn-post-sound {
      @extend .btn-gray !optional;
      @extend .button-md !optional;
      position: relative;
      top: 2px;
      padding: 4px 8px 0 8px;
      height: 32px;
      .icons-outline-sound-on {
        font-size: 1.65em;
        color: #f9ae31;
      }
    }

    .btn-post-movie {
      @extend .btn-gray !optional;
      @extend .button-md !optional;
      position: relative;
      top: 2px;
      padding: 4px 8px 0 8px;
      height: 32px;
      .icons-outline-videomaker {
        font-size: 1.65em;
        color: #cd0102;
      }
    }

    .btn-post-file {
      @extend .btn-gray !optional;
      @extend .button-md !optional;
      position: relative;
      top: 2px;
      padding: 4px 8px 0 8px;
      height: 32px;
      .icons-outline-paper-plus {
        font-size: 1.65em;
        color: #55a4f3;
      }
    }

    .btn-post-link {
      @extend .btn-gray !optional;
      @extend .button-md !optional;
      position: relative;
      top: 2px;
      padding: 4px 8px 0 8px;
      height: 32px;
      .icons-outline-link {
        font-size: 1.65em;
        color: #00a182;
      }
    }

    .btn-post-share {
      @extend .btn-gray !optional;
      @extend .button-md !optional;
      position: relative;
      top: 2px;
      padding: 4px 8px 0 8px;
      height: 32px;
      .icons-outline-share {
        font-size: 1.65em;
        color: #777;
      }
    }
    .active {
      a[data-toggle="tab"] {
        background: #666;
        .btn-text,
        i {
          color: #fff;
        }
      }
    }
    li {
      float: none;
      display: inline-block;
    }

  }
  .tab-content {
    margin-top: 20px;
    min-height: 221px;
    .img-item--featured {
      .img-featured {
        height: 370px;
        margin-bottom: 16px;
      }
    }
    .list-img {
      list-style: none;
    }
    .img-item--thumb {
      .img-thumb {
        margin: 0 8px 16px 8px;
      }
    }
    .images-list,
    .videos-list {
      .btn.btn-danger {
        position: absolute;
        top: -10px;
        right: -10px;
        border-radius: 50%;
        line-height: 1em;
        padding: 0;
        background: #C43827;
      }
    }
  }
  .sidebar {
    h3.main-title {
      .title_text {
        font-weight: normal;
        font-size: 18px;
        color: #55a4f3;
        .subtext {
          color: #9d9d9d;
          font-size: 12px;
        }
      }
    }
    .block {
      padding: 22px 0;
      border-bottom: 1px solid #eee;
    }
    .story-desc {
      > div {
        font-size: 12px;
      }
      &.block {
        padding: 0 0 22px 0;
      }
    }
    .story-categories,
    .story-tags {
      .tag {
        margin: 10px 0;
        a {
          color: #fff;
          background: #55a4f3;
          font-size: 12px;
          padding: 3px 10px;
          border-radius: 50px;
          display: inline-block;
          cursor: pointer;
          :hover {
            text-decoration: underline;
          }
        }
      }
    }
    .story-author {
      h3.title {
        font-weight: normal;
        font-size: 16px;
      }
      .author-list {
        padding: 0;
        li {
          display: block;
          list-style: none;
          vertical-align: middle;
          margin-bottom: 20px;
          &:last-child {
            margin-bottom: 0;
          }
          .user-avatar-wrapper {
            display: inline-block;
            width: 32px;
            height: 32px;
            margin-right: 15px;
            img {
              max-width: 100%;
              border-radius: 50%;
            }
          }
          .user-name {
            display: inline-block;
            vertical-align: middle;
          }
        }
      }
      .btn-featured-list {
        margin-top: 20px;
        text-align: center;
      }
    }
    .story-actor {
      h3.title {
        font-weight: normal;
        font-size: 16px;
      }
      .actor-list {
        padding: 0;
        li {
          display: inline-block;
          list-style: none;
          vertical-align: middle;
          .user-avatar {
            display: inline-block;
            width: 32px;
            height: 32px;
            img {
              max-width: 100%;
              border-radius: 50%;
            }
          }
          .user-avatar-wrapper {
            display: inline-block;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            overflow: hidden;
            img {
              max-width: 100%;
              height: auto;
            }
          }
        }
      }
      .btn-featured-list {
        margin-top: 20px;
        text-align: center;
      }
    }
    .story-featured-list {
      .relato-teaser-wrapper {
        border-bottom: 1px solid #eee;
        padding: 20px 0;
        &:first-child {
          padding-top: 0;
        }
      }
      .img-wrapper {
        height: 280px;
        overflow: hidden;
        border-radius: 3px;
        .img-inbg {
          width: 100%;
          height: 100%;

        }
      }
      h3.title {
        font-weight: 500;
        min-height: 51px;
        margin: 10px 0 5px;
        font-size: 1.1pc;
      }
      .info {
        min-height: 46px;
        font-size: 14px;
      }
      .btn-featured-list {
        margin-top: 20px;
        text-align: center;
      }
    }
    .content-editable-actions {
      padding-top: 10px;
      border-top: 1px solid #dbdbdb;
      text-align: right;
      margin-top: 10px;
    }
    form {
      .content-editable-actions {
        border-top: none;
      }
    }
  }
  .comments-wrapper {
    .tab-content {
      margin-top: 20px;
      min-height: 50px;
    }
  }
  .story-comments {
    > .box-inner {
      margin-bottom: 0;
    }
  }
  .comments {
    margin-top: 50px;
    ul.nav-tabs.comment-list {
      margin-top: -62px;
      margin-left: -20px;
      margin-right: -20px;
      padding: 0 20px;
    }
  }

  .comment-form {
    padding: 20px 20px 20px 40px;
    margin-top: 20px;
    background: lighten(#eee, 3%);
    clear: both;
    padding-bottom: 20px;
    margin: 20px 0 -20px 0;
    border-radius: 0 0 4px 4px;
    min-height: 79px;
    .comment-right {
      margin-left: 70px;
    }
    .comment-textarea {
      textarea {
        background: #fff;
        margin-bottom: 15px;
      }
    }
    .btn-default {
      background: transparent;
    }
    .btn-group {
      .btn-primary,
      .btn-default {
        @extend .pull-right !optional;
        margin-left: 10px;
      }
    }
    .user-avatar-area {
      width: 50px;
      img {
        @extend .img-circle !optional;
      }
      margin-bottom: 10px;
    }
    .user-avatar-area {
      display: inline-block;
      overflow: hidden;
      font-size: 0;
      background: #fff;
      border-radius: 50%;
      vertical-align: middle;
      float: left;
      vertical-align: middle;
    }
    .comment-placeholder {
      font-size: 13px;
      line-height: 35px;
      background: #fff;
    }
    .comment-textarea {
      textarea {
        height: 130px;
      }
    }
  }
.file-input-wrapper-2 {
  width: 210px;
  height: 150px;
  @extend .btn !optional;
  background: #efedee;
  border: 3px solid #dcdcdc;
  color: #dcdcdc;
  position: relative;
  &:hover {
    color: darken(#dcdcdc, 10%);
  }
  padding: 40px 0 0 0;
  font-size: 16px;
  overflow: hidden;
  border-radius: 0;
  text-align: center;
  clear: both;
  span.text {
    display: block;
  }
  .icons-outline-picture {
    font-size: 22px;
  }
  .text {
    position: relative;
    top: -3px; left: 5px;
  }
}
  .file-input-wrapper-2 > input[type="file"] {
    width: 210px;
    height: 150px;
    position: absolute;
    background: #fc0;
    top: 0;
    opacity: 0;
    cursor: pointer;
  }
  .file-input-wrapper-2 > .btn-file-input-2 {
    margin-left: -10px;
    display: inline-block;
    cursor: pointer;
    border: none;
    background: none;
  }
  .file-input-wrapper-2:hover > .btn-file-input-2 {
    cursor: pointer;
    border: none;
    background: none;
  }
}

.new-images-preview {
  padding: 10px;
  background: $gray-lighter;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 12px;
  color: $gray-light;
  overflow: hidden;
  text-align: center;
}


.media-tabs,
.story-media {
  .images-action {
    margin-bottom: 30px;
    clear: both;
  }
}

.story-media {
  .img-save {
    img[src="/core/images/done.png"] {
      display: none;
    }
    .we-loading-text {
      display: none;
    }
  }
}

.img-save {
  margin-top: 30px;
  text-align: center;
}

.add-videos {
  .file-input-wrapper-2 {
    width: 190px;
    height: 142px;
    padding-top: 30px;
  }
}

.story-modal-edit.modal {
  .modal-dialog {
    @media (min-width: 1200px) {
      width:66.6666666667%;
    }
    .main-title {
      .title_text {
        color: #55a4f3;
      }
    }
    .row {
      margin-bottom: 20px;
    }
  }
  .radio {
    margin-top: 40px;
  }
  .select2-choices {
    border: none;
    box-shadow: none;
    background: none;
    .select2-search-field {
      //width: 50%;
    }
  }
  .select2-input.select2-default {
    width: 150% !important;
  }
  .select2-search-choice {
    border: none;
    background: $brand-story;
    border-radius: 6px;
    color: #fff;
    font-weight: bold;
    font-size: 11px;
    padding: 6px 12px 6px 24px;
    .select2-search-choice-close {
      top: 6px;
      left: 6px;
    }
  }
}

.select2-container.form-control {
  display: block;
  width: 100%;
  height: 36px;
  padding: 6px 6px 6px 12px;
  font-size: 14px;
  line-height: 1.428571429;
  color: #555555 !important;
  background-color: #eeeeee;
  background-image: none;
  border: 1px solid #eeeeee;
  border-radius: 3px;
  transition: border-color ease-in-out 0.15s;
  outline: none;
  border: none;
  &:focus {
    outline: none;
    border: none;
  }
  .select2-chosen {
    color: #555 !important;
  }
  .select2-choice {
    background: transparent;
    padding: 0;
    border: none;
    outline: none;
    border: none;
    &:focus {
      outline: none;
      border: none;
    }
  }
  .select2-dropdown-open {
    border: none;
  }
  .select2-arrow {
    background: transparent;
    border: none;
    right: -5px;
  }
}
.select2-drop {
  background: #eeeeee;
}
.select2-drop-active {
  border: none;
}
.select2-dropdown-open .select2-choice {
  box-shadow: none;
  border: none;
  outline: none;
}