//SEARCH
.search-input{
  height: 34px;
  vertical-align: top;
  margin-right: 4px;

}
.search-icon{
  a.gears-button-inner{
    padding: 10px 0px;
  }
}

#search_dialog{
  .border-radius(0px);

  .filters{
    display: none;
  }


  .side-button{
    .rel;
    z-index: 3;
  }

  .header{
    .inner{
      max-width: 1300px;
    }
    //.border-bottom(@main-color,2px);

    .docked-right{
      padding-right: 55px;
      padding-top: 10px;
      width:50%;

      .gears-button{

        a{
          padding: 11px;

          .button-text{
            .t-strong;
            letter-spacing: -0.5px;
            .t-size(13px);
          }
        }

        &.selected{
          a{
            .t-color;
          }
          .rel;
          &:after{
            content: ' ';
            .abs;
            bottom: -11px;
            left: 9px;
            right: 9px;
            height: 2px;
            background: @main-color;
          }
        }
        &:not(.selected){
          a{
            .button-text{
              .t-size(13px);
            }
          }
        }
      }
    }
    .docked-left{
      left: 0px;
      width:50%;
      white-space: nowrap;
      padding-left: 35px;

      .gears-buttonbar{
        margin-bottom: -2px;
        margin-top: 1px;
      }

      .gears-button{
        a{
          .colored;
        }
        .button-text{
          .t-size(11px);
        }
      }

      input{
        display: inline-block;
        .t-fit;
        background: transparent;
        border: none;
        outline: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
      }
    }
    .list-search-box{
      padding: 4px 0px;
    }
  }
  .navi{
    .inner{
      margin:0px;

      .gears-toolbar-dock {
        padding: 2px;
      }
    }
  }
}

.search-stream{
  padding-top:30px;

}
.search-stream-item{
  .rel;

  &.post-search-item{

  }

  &:nth-child(even){
    .white;
  }

  .box-size;
  .box-margin-auto;
  .t-fit;
  max-width: 750px;
  padding-top:10px;
  padding-bottom:10px;
  padding-left:70px;
  .avatar{
    .box-left;
    margin-left:-60px;
  }
  .company-avatar{
    .box-left;
    margin-left:-60px;
    width:50px;
    height:50px;
  }
  .product-avatar{
    .box-left;
    margin-left:-60px;
    width:50px;
    height:50px;
  }
  .title{
    .t-size(15px);
    .t-lh(17px);
    font-weight: 900;
  }
  .description{
    .t-size(13px);
    .t-lh(16px);
  }
  .category{
    .t-size(12px);
  }
  .author-name{
    .t-strong;
    .t-color;
    .t-size(13px);
    .t-lh(16px);
  }

  .date{
    .t-size(12px);
    .t-strong;
    .t-grey0;
  }

  .mark{
    .colored;
    .t-white;
    .t-strong;
    .border-radius(5px);
    .t-size(8px);

    padding:1px 5px;

    &.mark-profile{
      .abs;
      top: 40px;
      left: 0px;
    }
  }

  .action{
    .abs;
    .fit;
    z-index: 1;
  }

  &:after{
    .__cf;
  }
}

@media only screen {

  @media (max-width: 899px) {
    #search_dialog {
      .header {
        .docked-left {
          padding-top: 6px;
          padding-left: 3px;
        }
        .docked-right {
          padding-top:5px;
          padding-right: 0px;
          white-space: nowrap;

          .gears-button{
            display: inline-block;

            a{
              .button-text{

              }
            }

            &.selected {
              a {

              }

              &:after {
                bottom: -3px;
              }
            }
          }
        }
      }

      .inner{
        margin:0px;

        .content-inner{
          padding: 0 30px;
        }
      }
    }
    .search-input{
      width: 100%;
      margin-top: 1px;
      margin-right:0px;
      .border-radius(5px);
    }
    .search-icon{
      width: 100%;
      margin-top: -35px;

      a.gears-button-inner{
        margin-top: 0px;
        margin-left: 0px;
        width: 100%;
        padding-left: calc(100% - 24px);
      }
    }
  }

  @media (min-width: 900px) {
    .search-input{
      width: 350px;
      margin-top: 8px;
      .border-radius(17px)
    }
    .search-icon{
      width: 350px;
      margin-left:-350px;

      a.gears-button-inner{
        margin-top: 5px;
        margin-left: 0px;
        padding: 10px 0px 10px 320px;
      }
    }
    #search_dialog{
      .search-closer{
        display:none;
      }
    }
  }
}